package cn.ike.web.shire;

import org.apache.shiro.crypto.hash.Md5Hash;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import sun.security.provider.MD5;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath*:spring/applicationContext-*.xml")
public class App {

    @Test
    public void testMd5() {
        Md5Hash md5Hash = new Md5Hash("123", "jack@export.com");
        System.out.println("md5Hash = " + md5Hash);
    }
}
